<table class="table table-striped table-bordered table-hover">

    <tr>
    <th width="170" height="40">A&ccedil;&otilde;es</th>
    <th width="50" >Cor</th>
    <th>Nome</th>
    </tr>
    <?php
    $sql = "SELECT * FROM cha_status WHERE sta_id='1' ORDER BY cha_sta_id";
    $res = sql($sql);
    while($linha = mysql_fetch_array($res)) {
    ?>
    <tr>
    <td height="40">  
      <input name="excluir[]" type="checkbox" value="<?=$linha['cha_sta_id'];?>"/><i class="icon-trash"></i> Excluir&nbsp;&nbsp;|&nbsp;
      <a href="?pag=status_alt&cha_sta_id=<?=$linha['cha_sta_id'];?>"><i class="icon-pencil"></i> Editar</a>
    </td>
    <td align="center">
        <div style='width: 25px;height: 25px; background-color:#<?=$linha['cha_sta_cor'];?>'></div>
    </td>
    <td><?=$linha['cha_sta_nome'];?></td>
    </tr>

    <?
    } 
    ?>
</table>